package codedef

const (
	ERR_SUCCEED            = 0
	ERR_DATABASE           = 1
	ERR_TOKEN_EXPIRED      = 2
	ERR_ACCOUNT_NOT_EXIST  = 3
	ERR_PASSWORD_NOT_MATCH = 4
	ERR_ACCOUNT_NEED       = 5
	ERR_PASSWORD_NEED      = 6
	ERR_ENCODE             = 7
	ERR_DECODE             = 8

	ERR_TASK_NOT_CANCEL_ABLE      = 32
	ERR_TASK_ALREADY_START        = 33
	ERR_TASK_NOT_RUNNING          = 34
	ERR_TASK_NOT_BELONG2_ACCOUNT  = 35
	ERR_TASK_NOT_EXIST            = 36
	ERR_TASK_CONTROLLER_NOT_VALID = 37
	ERR_TASK_CONTROLLER_BUSY      = 38
	ERR_TASK_SEND2_CONTROLLER     = 39
	ERR_TASK_TIMEOUT              = 40

	ERR_FARM_NOT_BELONG2_ACCOUNT = 41
)
